package com.software.sqlite.mapper;

import com.software.sqlite.common.BaseMapper;
import com.software.sqlite.entity.TbMenu;
import com.software.sqlite.entity.TbRoleMenu;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface TbRoleMenuMapper extends BaseMapper<TbRoleMenu> {

    List<TbMenu> selectFirstMenuListByRoleId(@Param("roleId") Long roleId);

    List<TbMenu> selectAllMenuListByRoleId(@Param("roleId") Long roleId);

    List<TbMenu> selectMenuListByRoleId(@Param("roleId") Long roleId);

    void deleteByRoleId(@Param("roleId") Long roleId);

}
